package com.share51.novel.config.http;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * 代理网站
 * @author gb
 */
@Getter
@Setter
@NoArgsConstructor
@Configuration
@ConfigurationProperties(prefix = "com.share51.proxy")
public class ProxySiteConfig {

    private List<ProxySite> sites;

    /**
     * 启用 ip 代理
     */
    private boolean enableProxy=true;
}
